
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加学生</title>
</head>
<body>
<form align = "center"action="userservlet?method=addStudents" method="post" enctype="application/x-www-form-urlencoded">
    <table>
        <tr>
            <td>姓名：</td>
            <td>
                <input type="text" name="stuname"/>
            </td>
        </tr>
        <tr>
            <td>学号：</td>
            <td>
                <input type="text" name="stuno"/>
            </td>
        </tr>
        <tr>
            <td>密码：</td>
            <td>
                <input type="password" name="pwd"/>
            </td>
        </tr>
        <tr>
            <td>身份证号：</td>
            <td>
                <input type="text" name="idcard"/>
            </td>
        </tr>
        <tr>
            <td>入学时间：</td>
            <td>
                <input type="date" name="startdate"/>
            </td>
        </tr>
        <tr>
            <td>权限：</td>
            <td>
                <select name="status">
                    <option value="0">普通学生</option>
                    <option value="1">管理员</option>
                </select>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <input type="submit" value="保存"/>
                <input type="reset" value="重置"/>
            </td>
        </tr>
    </table>
</form>>
</body>
</html>
